﻿@{
    Layout = null;
    ViewBag.Title = "部门显示信息";
}
<!DOCTYPE html>
<html>
<head>
    <title>Index</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    
    <script>
        if (top.boardtop) {
            top.boardtop.head_txt.innerText = "部门显示信息";
            //top.boardtop.showChooseYear(@ViewData["currentYear"], @ViewData["maxYear"], @ViewData["minYear"], rootPath + "/Admin/DocumentCls/Index?year=");
        }
    </script>


    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>
   
    @Html.DevExpress().GetStyleSheets(
        new StyleSheet { ExtensionType = ExtensionType.Splitter, Theme = DevExpressHelper.Theme }

)
    @Html.DevExpress().GetScripts(
            new Script { ExtensionType = ExtensionType.Splitter }
    )



    <script>
        /*刷新节点名称*/
        function refreshNodeName(focusKey) {
            contentleft.refreshNodeName(focusKey);
        }
        /*刷新节点*/
        function refreshLevelNode(focusKey) {
            contentleft.refreshLevelNode(focusKey);
        }
    </script>

</head>
<body>
    

    @Html.DevExpress().Splitter(settings =>
{
    settings.Name = "ContentSplitter";
    settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.FullscreenMode = true;
    settings.Panes.Add(subpane =>
    {
        subpane.Name = "ContentLeft";
        subpane.PaneStyle.CssClass = "leftPane";
        subpane.ShowCollapseBackwardButton = DefaultBoolean.True;
        subpane.Size = System.Web.UI.WebControls.Unit.Pixel(150);
        subpane.ShowCollapseBackwardButton = DefaultBoolean.False;
        subpane.SetContent("<iframe  id='contentleft' name='contentleft' style='width:100%;height:100%' frameborder='0' src='" + Url.Action("DeptTree", "DeptShowText") + "'></iframe>");

    });

    settings.Panes.Add(subpane =>
    {
        subpane.Name = "ContentCenter";
        subpane.PaneStyle.CssClass = "contentPane";
        subpane.Separator.Visible = DefaultBoolean.True;
        
        subpane.Separator.SeparatorStyle.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
        subpane.Separator.SeparatorStyle.BorderTop.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
        subpane.ScrollBars = System.Web.UI.WebControls.ScrollBars.Auto;
      
        subpane.SetContent("<iframe  id='contentframe' name='contentframe' style='width:100%;height:100%' frameborder='0' src=''></iframe>");

    });

}).GetHtml()
</body>
</html>
